package com.ddtech.business.check.service;

import com.ddtech.business.check.entity.Check;
import com.ddtech.business.check.entity.CheckUserRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ddtech.business.check.query.CheckUserRecordQuery;

import java.util.List;

/**
 * <p>
 * 学员考核记录表 服务类
 * </p>
 *
 * @author bin_pu
 * @since 2023-02-06
 */
public interface CheckUserRecordService extends IService<CheckUserRecord> {
    /**
     * 保存参与考核用户
     * @param check
     * @param checkUser
     */
    void saveCheckUser(Check check, List<CheckUserRecord> checkUser);
    /**
     * 查询参与考核用户
     */
    List<CheckUserRecord> getCheckUser(String checkId);

    /**
     * 删除checkerUser
     * @param checkId
     */
    void deleteCheckUser(String checkId);

    /**
     * 查询考试情况
     * @param checkUserRecordQuery
     * @return
     */
    Object pageList(CheckUserRecordQuery checkUserRecordQuery);


    /**
     * APP首页考试数据统计情况
     * @return
     */
    Object getStatisticsApp();

    /**
     * APP首页考试 待考试、已经参加考试情况
     * @return
     */
    Object checkPlanStatisticsApp();
}
